#include <stdio.h>

//编写代码将13⼆进制序列的第5位修改为1，然后再改回0

int main()
{
    int n = 13;
    n = n | (1 << 4);
    printf("n = %d\n", n);

    //改回来

    n = n &  ~(1 << 4);
    printf("n = %d\n", n);

    return 0;
}